home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-05-29 | 6.5 KB | 170 lines | [TEXT/Rich] |
- Understanding Caesura
-
- version 1.0.0
-
- © 1992 by Greg Swann
-
- 5/29/92
-
-
- Greg Swann
- CompuServe: 70640,1574
- USPS: P.O. Box 1724
- Andover, MA 01810
-
-
-
- First the important stuff: Caesura is pronounced "sez you're a"; I
- leave it to you to decide "a what"... It's Latin, meaning "to cut",
- and if you listen closely you can hear the word "scissors" in there.
-
- Now the trivia: what does this do?
-
- Caesura cuts, which is not a long leap. It cuts files of type 'TEXT'
- into chunks that are more manageable or more useful. I'd like to say
- that it's the most useful of my utilities, but I know this is untrue.
- Caesura exists to fulfill a need you will have infrequently. But when
- you _do_ have that need, it will do the job quickly and cleanly,
- without a lot of painful hacking away in a text editor.
-
- I expect that you'll find that Caesura works best in conjunction with
- XP8 and Torquemada, two other utilites of mine. In particular,
- Caesura can be helpful in reducing the complexity (and hence running
- time) of Torquemada sets.
-
-
-
- Commercial, legal and other pertinent notices:
-
- XP8 is a text file reformatter. It will clean up and make
- QuarkXPress-ready Macintosh or DOS text files. Among many other
- features, it intelligently reformats paragraphs, converts the DOS or
- WordStar character sets to their Mac equivalents, substantially
- improves the hyphenation and justification of text, converts quotes
- better than any software currently available, and traps for XPress
- Tags errors that might otherwise result in missing text or
- irreversible document corruption. A semi-inhibited shareware version
- of XP8 is available on CompuServe (GO DTPFORUM, Library 5) and other
- electronic information services. The full commercial release can be
- obtained from Greg Swann at:
-
- P.O. Box 1724
- Andover, MA 01810
-
- Licenses are sold per machine, with a single license costing $50;
- 2-10 licences are $45 each; and 11 or more licenses are $40 each.
-
- Torquemada is a batch search and replace utility. It employs a suite
- of 29 wildcards to run up to 640 searches on up to 128 files of type
- 'TEXT'. Torquemada is freeware in its current release. Torquemada 2.0
- will be a commercial release, and it will be priced in the same range
- as is XP8.
-
- Caesura is freeware now, and will be forever and always.
-
- Caesura is delivered "as is", without any warranties, expressed or
- implied. It is not warranted to be useful _to_ anyone, _for_
- anything, and in no wise am I to be held responsible for any
- unfortunate consequences resulting from its use or misuse. And I
- _hate_ having to say things like that. I do my best to write useful,
- simple, elegant, bug-free solutions to difficult problems. In this
- case, I am giving of my labor at no charge at all. If you take it
- into your head that I represent your big chance to 'strike it rich,'
- you will pay a lot in legal fees to discover that you have
- miscalculated. It's sad and sick and stupid that we live in a world
- of bloodsuckers, but I _promise_ I will not be leech lunch. So there!
-
- And: to those to whom the above disclaimer does not apply: forgive me
- for having to make it. It's _you_ whom I'm working for, for pay or
- for free. I appreciate your custom and your support, and I wish we
- all could just comb the others out of our hair...
-
-
-
- Using Caesura
-
- Caesura is very straightforward in operation. There is but one dialog
- box. In that box is space to define a STRING LITERAL that STARTS A
- PARAGRAPH. Where that string literal is found, the source file will
- cut, as directed by the radio button group below.
-
- A 'string literal' is actual readable text, without any wildcards. It
- must match the source file exactly, and case is sensitive. In
- consequence, the best way to define this string is by Pasting from
- your source file.
-
- The string literal must live at the very start of a paragraph in the
- source file. We are not searching 'through' paragraphs to find the
- string.
-
- At each place where the string is found, the current output file will
- be truncated, and a new file will be started. The files will be named
- 'file.001', 'file.002', etc. Caesura will create up to 998 files in
- this fashion, surely enough for anyone.
-
- The radio botton group at the bottom of the dialog box tells Caesura
- where to effect the cut. If you are cutting at a common header, such
- as "Splendex Corporation 1992 Annual Report", you would select
- 'Divide at paragraph-ending BEFORE string'. If you are segmenting at
- a common footer, such as "See accompanying Notes to Consolidated
- Financial Statements", you would select 'Divide at paragraph-ending
- AFTER string'.
-
- If you do not specify a string, Caesura will create a copy of your
- file.
-
- When you hit the 'Start…' button, Caesura prompts you for a file to
- operate on. The new files will be created in the same folder, and the
- original file will not be altered in any way.
-
-
-
- Caesura in real life...
-
- If you find yourself using this a lot, I'd love to hear from you.
- Almost I talked myself out of doing it, so few were the uses I could
- think up for it. But here are a small few:
-
- * If you have a job that comes in one enormous file, you can save
- yourself a lot of Mac-sluggishness by cutting it up into smaller
- chunks and working on those. If necessary, use one of my file
- concatenators (Catena or Cat o' Seven Tails) to put the pieces back
- together at the end.
-
- * If you have a file that come in logically distinct segments, and if
- it behooves you to operate on those segments in logically distinct
- ways, Caesura will slice 'em up quick like. I'm thinking here of
- financial work, as an example, where the work to be done on the
- tables is largely different from the work to be done on the text.
-
- * If you have a job that needs an exceptional amount of Torquemada
- intelligence, and if the Torquemada set is taking forever to run
- because each and every 'wildstring' used is going to the end of the
- buffer before it fails, it can be emeinently worth your while to
- segment the source file.
-
- * Finally, if you are experiencing buffer-bounding errors using
- 'wildstrings' in Torquemada, these will go away if you use Caesura to
- cut your source file in segements 16K or smaller.
-
- (The last two are best understood by reference to the manual that
- ships with the Torquemada release archive.)
-
-
-
- Fair warnings...
-
- * Caesura is 32-bit clean and System 7 compatible. It is not,
- however, System 6 hostile, nor does it support Drag & Drop (didn't
- make much sense, given that you _have_ to interact with it).
-
- * If you speak with a lilt, a burr, a brogue or a twang, I will do
- my best to ignore your importunate feature requests in order to prove
- that I can (grin).
-
-
-
- That's it. Happy cutting...
-
- Greg Swann
-